package com.ds.applet.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ds.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 背景图对象 mini_backdrop
 *
 * @author liucan
 * @date 2024-04-04
 */

@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MiniBackdrop implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 背景图id
     */
    private Long id;

    /**
     * 位置
     */
    @Excel(name = "位置")
    private Long baPosition;

    /**
     * 图片路径
     */
    @Excel(name = "图片路径")
    private String baUrl;

    /**
     * 状态 0正常 1删除
     */
    @Excel(name = "状态 0正常 1删除")
    private Integer baStatus;

    /**
     * 是否显示 0显示 1隐藏
     */
    @Excel(name = "是否显示 0显示 1隐藏")
    private Integer baShow;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 所属小程序
     */
    @Excel(name = "所属小程序")
    private String toApplet;

    @TableField(exist = false)
    private String baPositionTo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBaPosition() {
        return baPosition;
    }

    public void setBaPosition(Long baPosition) {
        this.baPosition = baPosition;
    }

    public String getBaUrl() {
        return baUrl;
    }

    public void setBaUrl(String baUrl) {
        this.baUrl = baUrl;
    }

    public Integer getBaStatus() {
        return baStatus;
    }

    public void setBaStatus(Integer baStatus) {
        this.baStatus = baStatus;
    }

    public Integer getBaShow() {
        return baShow;
    }

    public void setBaShow(Integer baShow) {
        this.baShow = baShow;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getToApplet() {
        return toApplet;
    }

    public void setToApplet(String toApplet) {
        this.toApplet = toApplet;
    }

    public String getBaPositionTo() {
        return baPositionTo;
    }

    public void setBaPositionTo(String baPositionTo) {
        this.baPositionTo = baPositionTo;
    }

    @Override
    public String toString() {
        return "MiniBackdrop{" +
                "id=" + id +
                ", baPosition=" + baPosition +
                ", baUrl='" + baUrl + '\'' +
                ", baStatus=" + baStatus +
                ", baShow=" + baShow +
                ", remark='" + remark + '\'' +
                ", toApplet='" + toApplet + '\'' +
                ", baPositionTo='" + baPositionTo + '\'' +
                '}';
    }
}
